//
//  chatViewCell.h
//  testTVC
//
//  Created by user10 on 2017/6/19.
//  Copyright © 2017年 user10. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "chatModel.h"
#import "AimTapGestureRecognizer.h"
@protocol chatViewCellDelegate <NSObject>

- (void)cellLongPress:(UIGestureRecognizer *)recognizer;

@end

@interface chatViewCell : UITableViewCell

@property (nonatomic, weak) id delegate;
@property (nonatomic, weak) id chatCellDelegate;

@property (nonatomic, strong) UILabel *timeL;
@property (nonatomic, strong) UILabel *shopNameL;
@property (nonatomic, strong) UILabel *nameL;
@property (nonatomic, strong) UILabel *commentL;
@property (nonatomic, strong) UIImageView *imgV;
@property (nonatomic, strong) UIImageView *photo;
@property (nonatomic, assign) BOOL isMe;

@property (nonatomic, strong) NSString *tmp;

typedef void (^tapBlock)(AimTapGestureRecognizer *ges);

@property (nonatomic, copy) tapBlock clickBlock;

typedef void (^playBlock)(AimTapGestureRecognizer *ges);

@property (nonatomic, copy) playBlock playBlock;

typedef void (^playVoiceBlock)(AimTapGestureRecognizer *ges);

@property (nonatomic, copy) playVoiceBlock playVoiceBlock;

@property (nonatomic, strong) chatModel *chatModel;

@property (nonatomic, strong)UILongPressGestureRecognizer * longPressGesture;


@end
